scoreboard objectives add rmr.local.n dummy
scoreboard players set #6 rmr.local.n 6

scoreboard objectives add rmr.local.delta dummy
scoreboard objectives add rmr.local.pos_part dummy

execute store result score @s rmr.local.delta run scoreboard players get @s rmr.entity.flying_axe.x_speed
scoreboard players operation @s rmr.local.delta /= #6 rmr.local.n
execute store result score @s rmr.local.pos_part run data get storage minecraft:rmr arguments.pos[0] 100
scoreboard players operation @s rmr.local.pos_part += @s rmr.local.delta
execute store result storage minecraft:rmr arguments.pos[0] double 0.01 run scoreboard players get @s rmr.local.pos_part

execute store result score @s rmr.local.delta run scoreboard players get @s rmr.entity.flying_axe.y_speed
scoreboard players operation @s rmr.local.delta /= #6 rmr.local.n
execute store result score @s rmr.local.pos_part run data get storage minecraft:rmr arguments.pos[1] 100
scoreboard players operation @s rmr.local.pos_part += @s rmr.local.delta
execute store result storage minecraft:rmr arguments.pos[1] double 0.01 run scoreboard players get @s rmr.local.pos_part

execute store result score @s rmr.local.delta run scoreboard players get @s rmr.entity.flying_axe.z_speed
scoreboard players operation @s rmr.local.delta /= #6 rmr.local.n
execute store result score @s rmr.local.pos_part run data get storage minecraft:rmr arguments.pos[2] 100
scoreboard players operation @s rmr.local.pos_part += @s rmr.local.delta
execute store result storage minecraft:rmr arguments.pos[2] double 0.01 run scoreboard players get @s rmr.local.pos_part

scoreboard objectives remove rmr.local.n
scoreboard objectives remove rmr.local.delta
scoreboard objectives remove rmr.local.pos_part